package com.weight.system.type.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 类别常量表
 */
@Data
public class TypeInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "类别编号")
	@JSONField(name = "typeCode")
	private String typeCode; //类别编号

	@Excel(name = "类别名称")
	@NotBlank(message = "类别名称不能为空")
	@JSONField(name = "typeName")
	private String typeName; //类别名称

	@Excel(name = "类别分组编号")
	@NotBlank(message = "类别分组编号不能为空")
	@JSONField(name = "typeGroup")
	private String typeGroup; //类别分组编号

	@Excel(name = "级别")
	@NotNull(message = "级别不能为空")
	@JSONField(name = "typeLevel")
	private Integer typeLevel; //级别

	@Excel(name = "排序")
	@NotNull(message = "排序不能为空")
	@JSONField(name = "typeSort")
	private Integer typeSort; //排序

	@Excel(name = "状态")
	@NotNull(message = "状态不能为空")
	@JSONField(name = "typeStatus")
	private Integer typeStatus; //状态

	@Excel(name = "描述")
	@NotBlank(message = "描述不能为空")
	@JSONField(name = "typeDesc")
	private String typeDesc; //描述


	public  TypeInfoVO(){
		super();
	}

	public  TypeInfoVO(String typeCode,String typeName,String typeGroup,Integer typeLevel,Integer typeSort,Integer typeStatus,String typeDesc){
		super();
		this.typeCode = typeCode;
		this.typeName = typeName;
		this.typeGroup = typeGroup;
		this.typeLevel = typeLevel;
		this.typeSort = typeSort;
		this.typeStatus = typeStatus;
		this.typeDesc = typeDesc;
	}

}